home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 April / Gamestar_61_2004-04_dvdb.iso / DVDStar / Editace / hltp.exe / {app} / Applications / QuArK / plugins / maptexsearch.py < prev    next >
Text File  |  2004-01-05  |  1KB  |  40 lines

  1. # QuArK  -  Quake Army Knife
  2. #
  3. # Copyright (C) 2001 The Quark Community
  4. # THIS FILE IS PROTECTED BY THE GNU GENERAL PUBLIC LICENCE
  5. # FOUND IN FILE "COPYING.TXT"
  6. #
  7. #$Header: /cvsroot/quark/runtime/plugins/maptexsearch.py,v 1.4 2003/03/21 05:47:45 cdunde Exp $
  8.  
  9. Info = {
  10.    "plug-in":       "Texture Search",
  11.    "desc":          "searches textures",
  12.    "date":          "16 June 2001",
  13.    "author":        "Andy",
  14.    "author e-mail": "personx@planetquake.com",
  15.    "quark":         "Version 6.3"
  16. }
  17.  
  18. import quarkpy.mapsearch
  19. import tex_search
  20. import quarkx
  21.  
  22. def TextureSearchClick(m):
  23.     # Function to start the dialog
  24.     tex_search.TextureSearchDlg(quarkx.clickform)
  25.  
  26. quarkpy.mapsearch.items.append(quarkpy.qmenu.item("&Search for Texture...", TextureSearchClick, "|Search for Texture:\n\nThis function will search for the texture you specify.", "intro.mapeditor.menu.html#searchmenu"))
  27.  
  28. # $Log: maptexsearch.py,v $
  29. # Revision 1.4  2003/03/21 05:47:45  cdunde
  30. # Update infobase and add links
  31. #
  32. # Revision 1.3  2002/08/09 10:03:53  decker_dk
  33. # A minor correction. Appended an ellipsis ("...") to the menu-item, to indicate that
  34. # additional action is required, in the dialog-box which pops up, when this menu-item
  35. # is activated.
  36. #
  37. # Revision 1.2  2001/06/19 20:59:03  aiv
  38. # added cvs headers + small bug fix
  39. #
  40.